REM @ECHO OFF
REM SET DRIVE=D:
SET WAR_FILE=MIFO.war


SET PORTAL_HOME=..\uPortal-4.0.2
cd %PORTAL_HOME%
SET CURR_FOLDER=..\DeployPortlet
REM %DRIVE%
SET ANT_HOME=..\apache-ant-1.8.2
SET PATH=%ANT_HOME%\bin;%PATH%
call %ANT_HOME%\bin\ant.bat deployPortletApp -DportletApp="%CURR_FOLDER%\%WAR_FILE%"

cd %CURR_FOLDER%
@PAUSE